package cn.tedu._03vehicle;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * ServletComponentScan注解:
 *   1.组件扫描注解,使用过滤器必须添加此注解;
 *   2.工程启动时,会自动扫描JavaEE中的过滤器、监听器组件等;
 */

@ServletComponentScan
@SpringBootApplication
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
